using System;
using System.Collections.Generic;
using System.Text;
using DTO;

namespace DTO
{
    public class tbsanpham
    {
        private int masanpham;

        public int Masanpham
        {
            get { return masanpham; }
            set { masanpham = value; }
        }

        private int madanhmuc;

        public int Madanhmuc
        {
            get { return madanhmuc; }
            set { madanhmuc = value; }
        }

        private int madiadiem;

        public int Madiadiem
        {
            get { return madiadiem; }
            set { madiadiem = value; }
        }

        private int matinhtrangsanpham;

        public int Matinhtrangsanpham
        {
            get { return matinhtrangsanpham; }
            set { matinhtrangsanpham = value; }
        }

        private string tensanpham;

        public string Tensanpham
        {
            get { return tensanpham; }
            set { tensanpham = value; }
        }

        private string chitiet;

        public string Chitiet
        {
            get { return chitiet; }
            set { chitiet = value; }
        }

        private int giagoc;

        public int Giagoc
        {
            get { return giagoc; }
            set { giagoc = value; }
        }

        private int tilegiam;

        public int Tilegiam
        {
            get { return tilegiam; }
            set { tilegiam = value; }
        }

        private int giamgia;

        public int Giamgia
        {
            get { return giamgia; }
            set { giamgia = value; }
        }
        private int phigiaohangtannoi;

        public int Phigiaohangtannoi
        {
            get { return phigiaohangtannoi; }
            set { phigiaohangtannoi = value; }
        }
        private DateTime ngaygiobatdau;

        public DateTime Ngaygiobatdau
        {
            get { return ngaygiobatdau; }
            set { ngaygiobatdau = value; }
        }
        private DateTime ngaygioketthuc;

        public DateTime Ngaygioketthuc
        {
            get { return ngaygioketthuc; }
            set { ngaygioketthuc = value; }
        }
        private int luotquangcao;

        public int Luotquangcao
        {
            get { return luotquangcao; }
            set { luotquangcao = value; }
        }
        private int dohapdan;

        public int Dohapdan
        {
            get { return dohapdan; }
            set { dohapdan = value; }
        }
        private string hinhanh;

        public string Hinhanh
        {
            get { return hinhanh; }
            set { hinhanh = value; }
        }
        private int slphieutoithieu;

        public int Slphieutoithieu
        {
            get { return slphieutoithieu; }
            set { slphieutoithieu = value; }
        }
        private int slphieutoida;

        public int Slphieutoida
        {
            get { return slphieutoida; }
            set { slphieutoida = value; }
        }
        private DateTime hansudung;

        public DateTime Hansudung
        {
            get { return hansudung; }
            set { hansudung = value; }
        }
    }
}
public enum sanphamcolumns
{
    masanpham,
    madanhmuc,
    madiadiem,
    matinhtrangsanpham,
    tensanpham,
    chitiet,
    giagoc,
    tilegiam,
    giamgia,
    phigiaohangtannoi,
    ngaygiobatdau,
    ngaygioketthuc,
    luotquangcao,
    dohapdan,
    hinhanh,
    slphieutoithieu,
    slphieutoida,
    hansudung
}
public class tbsanphamcollection : List<tbsanpham> { }

